class Employees
	{
	int id;
	String name;
	int age;
	char gender;
	String address;
	double salary;
	
	//Default constructor
	Employees()
		{
		this.id = -1;
		this.name = "Not Entered";
		this.age = 0;
		this.gender = 'N';
		this.address = "Not Mentioned";
		this.salary = -1;
		}
	
	//Parameterized constructor
	Employees(int id, String name, int age, char gender, String address, double salary)
		{
		this.id = id;
		this.name = name;
		this.age = age;
		this.gender = gender;
		this.address = address;
		this.salary = salary;
		}
		
	//Parameterizes constructor having partial values
	Employees(int id, String name)
		{
		this.id = id;
		this.name = name;
		}
		
	//Method to display the details of an employee
	public void displayDetails()
		{
		System.out.println(); 
		System.out.println("Employee Details of employee having ID : " + this.id); 
		System.out.println("Name : " + this.name);
		System.out.println("Age : " + this.age);
		System.out.println("Gender : " + this.gender);
		System.out.println("Address : " + this.address);
		System.out.println("Salary : " + this.salary);
		}
		
	//Method to get the details of an employee
	public void setDetails(int id, String name,int age, char gender, String address, double salary)
		{
		this.id = id;
		this.name = name;
		this.age = age;
		this.gender = gender;
		this.address = address;
		this.salary = salary;
		}
		
	//Method to calculate the hike of an employee
	public void calculateHike(double h)
		{
		double hike = this.salary*h/100;
		this.showHike(hike);
		}
	
	//Displaying the hike of an employee
	public void showHike(double hike)
		{
		System.out.println("Congrats!!!" + this.name + "You have earned a hike of " + hike);
		System.out.println("Your current salary is " + this.salary);
		}
	}